package com.iretailer.report.analyze.device.face.commonutil;

/**
 * @Auther: xjw
 * @Date: 2019/8/8 0008 22:01
 * @Description:
 */
public class AgeUtil {
    private static String[] ageTypes = new String[]{"0-18", "19-35", "36-55", "56+"};

    public static String getHorizonAge(int age) {
        if (age > 1 && age < 5) {
            return ageTypes[age - 1];
        } else {
            return null;
        }
    }
}
